# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-infocus-flatfish
pkgdesc="InFocus New Tab F1"
pkgver=0.1
pkgrel=8
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-infocus-flatfish mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="
	deviceinfo
	fb.modes
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname

	install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
}

sha512sums="6d9e0280a9e0af79e874e760e8ebc541066a95914ccbdfb037033cce481f48b2b47d6b9a125f41202924b057819149c9e510f50bc7a2db8deae0ea7b4f22fbe1  deviceinfo
2961df06a303e28139f67ae8abc99d0ddc48d2aa4c1d67a51e924493a27b46fff7e6072ddfd4273bdfa6b489598cbfda65400c3afdfaf16fce7fc407d19284f0  fb.modes"
